package com.hzhjhh.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.hzhjhh.entity.StockMovementRecord;

/**
 * 进出货记录表mapper
 * 
 * @author Administrator
 *
 */
@Mapper
public interface StockMovementRecordMapper {

	static final String insert5 = "insert EnterStock(MerNumber,Number,PurchasePrice,PutData,StoreHouse_ID,dealWithHuman,downName,inout) values(?,?,?,?,?,?,?,?)";
	
	/**
	 * 新增进出货操作记录
	 * 
	 * @param stockMovementRecord
	 * @return
	 */
	int insert(StockMovementRecord stockMovementRecord);
	/**
	 * 批量新增进出货操作记录
	 * 
	 * @param stockMovementRecordList
	 * @return
	 */
	int batchInsert(@Param("recordList") List<StockMovementRecord> stockMovementRecordList);
	
}
